package com.job.Gai_Yian.Homework0711;

/**
 * @author Gai_Yian
 * @version 1.0
 * @since 2022-07-12 13:22:28
 */
public class TextPage {
    public static void main(String[] args) {
        Page p=new NewsPage();
        p.show();

        Page pp=new WeatherPage();
        pp.show();

        //抽象类不能实例化
    }
}
